﻿using Ecommerce.DTO;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace Ecommerce
{
    public interface IOrderInfoService : IApplicationService
    {
        int AddOrder(CreateUpdatetbOrderInfoDto dto);//下订单
        List<CreateUpdateOrderDisplayDto> ShowOrder(int options);//显示订单
        int Cancellation(string guid);//取消订单
        Task<List<tbOrderInfoDto>> GettbOrderInfoDtos();//redis缓存显示

        Task<List<tbOrderInfoDto>> GetOrderInfos();//显示订单主表的所有信息 
    }
}
